var BaseController = require('./BaseController');
var AdminController = BaseController.extend(function(){
    //首页
    this.getIndex = function(req, res){
        //res.view('admin/index');
        res.redirect('/admin/item-add');
    };
    //添加商品
    this.getItemAdd = function(req,res){
        res.view('admin/index');
    }
});
module.exports = AdminController;